/*
 * COMP6471 Project
 *  
 * This file is created by Yuan Tao (ewan.msn@gmail.com)
 * Licensed under GNU GPL v3
 * 
 * $Author: ewan.msn@gmail.com $
 * $Date: 2011-11-16 06:19:25 +0000 (Wed, 16 Nov 2011) $
 * $Rev: 63 $
 * $HeadURL: http://comp6471.googlecode.com/svn/Project6/src/ui/UIBasicInf.java $
 * 
 */
package ui;

import java.util.ArrayList;

import kklib.*;

//basic interface for UIs to implement.
//1. show message on the screen
//2. get input from the user
public interface UIBasicInf {
	
	// show greetings
	int showGreetings();
	
	// show all the games to user to choose
	int showAllGamesAndChooseAGame(ArrayList<Layout> layouts);	// TODO: the parameter should be just data about layouts.
	
	// get commands from user's input
	String getCommands();
	
	// show the game result to user
	void showMessage(String msg);
	
	// check if user wants to play it again
	boolean ifPlayAgain();
	
	// print out the layout
	void showLayout(Layout layout);
}
